package com.wzs.workbench.dao;

import com.wzs.workbench.domain.Chapter;

import java.util.HashMap;
import java.util.List;

public interface ChapterMapper {
    int deleteByPrimaryKey(String id);

    int insert(Chapter record);

    int insertSelective(Chapter record);

    Chapter selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Chapter record);

    int updateByPrimaryKey(Chapter record);

    int getTotalByCondition(HashMap<String, Object> map);

    List<Chapter> getChapterListByCondition(HashMap<String, Object> map);

    int save(Chapter chapter);

    int delete(String[] ids);

    Chapter getChapterAll(String id);

    int update(Chapter chapter);
}